﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200048F RID: 1167
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterTreasureDungeonCsReq : IMessage<EnterTreasureDungeonCsReq>, IMessage, IEquatable<EnterTreasureDungeonCsReq>, IDeepCloneable<EnterTreasureDungeonCsReq>, IBufferMessage
	{
		// Token: 0x17000F08 RID: 3848
		// (get) Token: 0x06003491 RID: 13457 RVA: 0x000908D3 File Offset: 0x0008EAD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterTreasureDungeonCsReq> Parser
		{
			get
			{
				return EnterTreasureDungeonCsReq._parser;
			}
		}

		// Token: 0x17000F09 RID: 3849
		// (get) Token: 0x06003492 RID: 13458 RVA: 0x000908DA File Offset: 0x0008EADA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterTreasureDungeonCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F0A RID: 3850
		// (get) Token: 0x06003493 RID: 13459 RVA: 0x000908EC File Offset: 0x0008EAEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterTreasureDungeonCsReq.Descriptor;
			}
		}

		// Token: 0x06003494 RID: 13460 RVA: 0x000908F3 File Offset: 0x0008EAF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTreasureDungeonCsReq()
		{
		}

		// Token: 0x06003495 RID: 13461 RVA: 0x00090906 File Offset: 0x0008EB06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTreasureDungeonCsReq(EnterTreasureDungeonCsReq other) : this()
		{
			this.hMPPFGCIFJK_ = other.hMPPFGCIFJK_;
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003496 RID: 13462 RVA: 0x0009093C File Offset: 0x0008EB3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTreasureDungeonCsReq Clone()
		{
			return new EnterTreasureDungeonCsReq(this);
		}

		// Token: 0x17000F0B RID: 3851
		// (get) Token: 0x06003497 RID: 13463 RVA: 0x00090944 File Offset: 0x0008EB44
		// (set) Token: 0x06003498 RID: 13464 RVA: 0x0009094C File Offset: 0x0008EB4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HMPPFGCIFJK
		{
			get
			{
				return this.hMPPFGCIFJK_;
			}
			set
			{
				this.hMPPFGCIFJK_ = value;
			}
		}

		// Token: 0x17000F0C RID: 3852
		// (get) Token: 0x06003499 RID: 13465 RVA: 0x00090955 File Offset: 0x0008EB55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TreasureDungeonAvatar> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x0600349A RID: 13466 RVA: 0x0009095D File Offset: 0x0008EB5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterTreasureDungeonCsReq);
		}

		// Token: 0x0600349B RID: 13467 RVA: 0x0009096C File Offset: 0x0008EB6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterTreasureDungeonCsReq other)
		{
			return other != null && (other == this || (this.HMPPFGCIFJK == other.HMPPFGCIFJK && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600349C RID: 13468 RVA: 0x000909BC File Offset: 0x0008EBBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HMPPFGCIFJK != 0U)
			{
				num ^= this.HMPPFGCIFJK.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600349D RID: 13469 RVA: 0x00090A09 File Offset: 0x0008EC09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600349E RID: 13470 RVA: 0x00090A11 File Offset: 0x0008EC11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600349F RID: 13471 RVA: 0x00090A1C File Offset: 0x0008EC1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HMPPFGCIFJK != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.HMPPFGCIFJK);
			}
			this.avatarList_.WriteTo(ref output, EnterTreasureDungeonCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060034A0 RID: 13472 RVA: 0x00090A6C File Offset: 0x0008EC6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HMPPFGCIFJK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HMPPFGCIFJK);
			}
			num += this.avatarList_.CalculateSize(EnterTreasureDungeonCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060034A1 RID: 13473 RVA: 0x00090AC0 File Offset: 0x0008ECC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterTreasureDungeonCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HMPPFGCIFJK != 0U)
			{
				this.HMPPFGCIFJK = other.HMPPFGCIFJK;
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060034A2 RID: 13474 RVA: 0x00090B0D File Offset: 0x0008ED0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060034A3 RID: 13475 RVA: 0x00090B18 File Offset: 0x0008ED18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, EnterTreasureDungeonCsReq._repeated_avatarList_codec);
					}
				}
				else
				{
					this.HMPPFGCIFJK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040014A2 RID: 5282
		private static readonly MessageParser<EnterTreasureDungeonCsReq> _parser = new MessageParser<EnterTreasureDungeonCsReq>(() => new EnterTreasureDungeonCsReq());

		// Token: 0x040014A3 RID: 5283
		private UnknownFieldSet _unknownFields;

		// Token: 0x040014A4 RID: 5284
		public const int HMPPFGCIFJKFieldNumber = 6;

		// Token: 0x040014A5 RID: 5285
		private uint hMPPFGCIFJK_;

		// Token: 0x040014A6 RID: 5286
		public const int AvatarListFieldNumber = 15;

		// Token: 0x040014A7 RID: 5287
		private static readonly FieldCodec<TreasureDungeonAvatar> _repeated_avatarList_codec = FieldCodec.ForMessage<TreasureDungeonAvatar>(122U, TreasureDungeonAvatar.Parser);

		// Token: 0x040014A8 RID: 5288
		private readonly RepeatedField<TreasureDungeonAvatar> avatarList_ = new RepeatedField<TreasureDungeonAvatar>();
	}
}
